package student.stu23002123.chapter10;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class FileStream {
    public static void main(String[] args) throws IOException {
        FileInputStream in = new FileInputStream("C:\\Users\\Administrator\\IdeaProjects\\java202312\\src\\student\\stu23002123\\chapter10\\text.txt");
        int b =0;
        while(true){
            b=in.read();
            if (b ==-1)
                break;
            System.out.println(b);
        }
        in.close();
    }
}
